package com.tile.gemo
{
	import flash.display.Sprite;
	import flash.events.MouseEvent;
	import flash.text.TextField;
	
	public class Console extends Sprite
	{
		private var txt:TextField = new TextField;
		private static var instance:Console;
		public function Console()
		{
			init();
		}
		public static function getInstance():Console{
			if(instance == null){
				instance = new Console;
			}
			return instance;
		}
		private function init():void{
			this.graphics.beginFill(0x04477c);
			this.graphics.drawRoundRect(0,0,140,30,10,10);
			
			txt.width = 130;
			txt.height = 30;
			txt.selectable = false;
			this.addChild(txt);
			this.addEventListener(MouseEvent.MOUSE_DOWN,onMouseDown);
			this.addEventListener(MouseEvent.MOUSE_UP,onMouseUp);
		}
		private function onMouseDown(event:MouseEvent):void{
			this.startDrag();
		}
		private function onMouseUp(event:MouseEvent):void{
			this.stopDrag();
		}
		public function show(str:String):void{
			txt.htmlText = "<p align='center'><font face='Microsoft YaHei' color='#ffffff' size='15'><b>" + str + "</b></font></p>";
		}
		/*
		247360636@qq.com
		AN8Hc9gB5nK5
		
		http://www.kuaipan.cn/index.php?ac=file&oid=20190761517580778
		http://www.kuaipan.cn/index.php?ac=file&oid=20190761517580774
		http://www.kuaipan.cn/index.php?ac=file&oid=20190761517580773
		http://www.kuaipan.cn/index.php?ac=file&oid=20190761517580769
		http://www.kuaipan.cn/index.php?ac=file&oid=20190761517580767
		http://www.kuaipan.cn/index.php?ac=file&oid=20190761517580766
		http://dl.dbank.com/c0jsz8y334
		http://www.kuaipan.cn/index.php?ac=file&oid=20190761517580746
		http://www.kuaipan.cn/index.php?ac=file&oid=20190761517580759
		http://www.kuaipan.cn/index.php?ac=file&oid=20190761517580763
		http://www.kuaipan.cn/index.php?ac=file&oid=20190761517580719
		http://www.kuaipan.cn/index.php?ac=file&oid=20190761517580693
		http://www.kuaipan.cn/index.php?ac=file&oid=20190761517580691
		http://www.kuaipan.cn/index.php?ac=file&oid=20190761517580722
		*/
	}
}